<?php e($javascript->codeBlock('$(document).ready(function() {$("#ConfigAddForm").ajaxForm(function() {$(".content").load("/admin/configs/video");});});'));?>
<div id="video-options">
	<?php e($form->create('Config', array('action'=>'video')));?>
		<fieldset id="options-edit">
			<legend>Edit Video options</legend>
		<?php e($form->input('width', array('value'=>$video_width)));?>
		<?php e($form->input('height', array('value'=>$video_height)));?>
		<?php e($form->input('samplerate', array('value'=>$video_samplerate)));?>
		<?php e($form->input('bitrate', array('value'=>$video_bitrate)));?>
		</fieldset>
		
		<?php e($form->submit('Update Options'));?>
	<?php e($form->end());?>
</div>